package org.example.backend.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分页请求DTO
 */
@Data
@ApiModel(description = "分页请求参数")
public class PageRequestDTO {

    @ApiModelProperty(value = "当前页码", example = "1")
    private long current = 1;

    @ApiModelProperty(value = "每页记录数", example = "10")
    private long size = 10;

    @ApiModelProperty(value = "关键字")
    private String keyword;
    
} 